public class Cat extends Animal {
    public int foot;
    public Cat(){
        super();
        this.foot = 0;
        super.name="ada";
        super.age=18;
    }
public void show(){
    System.out.println("foot: "+foot+" name: "+name+" age: "+age);
    }

    public static void main(String[] args) {
        Animal animal = new Cat();
        ((Cat) animal).show();
    }
    public static void main1(String[] args) {
        Cat cat = new Cat();
        cat.show();
    }
}
